package com.kate.quickstart.web;

import com.kate.quickstart.pojo.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class TestController {
    @Resource
    private User user;

    @GetMapping("/test01")
    public User test01(){
        return user;
    }

}
